﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true" CodeFile="register.aspx.cs" Inherits="user_register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" Runat="Server">
    <form runat="server">
    <div class="k50">
        <div class="zliao">
             <dl><dt>用户名:</dt><dd><asp:TextBox ID="txtName" CssClass="input" runat="server"/>
                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                     ControlToValidate="txtName" ErrorMessage="*请输入用户名" SetFocusOnError="True"></asp:RequiredFieldValidator>
                 </dd></dl>
            <dl><dt>Email:</dt><dd><asp:TextBox ID="txtEmail" CssClass="input" runat="server"/>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtEmail" Display="Dynamic" ErrorMessage="*请输入Email" 
                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="txtEmail" Display="Dynamic" ErrorMessage="*邮箱格式错误" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                </dd></dl>
            <dl><dt>密码：</dt><dd><asp:TextBox ID="txtPssword" TextMode="Password" CssClass="input" runat="server"/>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtPssword" Display="Dynamic" ErrorMessage="*请输入密码" 
                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                </dd></dl>
            <dl><dt>确认密码：</dt><dd><asp:TextBox ID="txtPssword2" TextMode="Password" CssClass="input" runat="server"/>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtPssword2" Display="Dynamic" ErrorMessage="*请输入确认密码" 
                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtPssword" ControlToValidate="txtPssword2" 
                    ErrorMessage="*密码不一致" SetFocusOnError="True"></asp:CompareValidator>
                </dd></dl>
            <dl><dt>验证码：</dt><dd><asp:TextBox ID="txtCode" MaxLength="4" Width="50" CssClass="input" runat="server"/>
            &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="txtCode" Display="Dynamic" ErrorMessage="*请输入验证码" 
                    SetFocusOnError="True"></asp:RequiredFieldValidator>
                &nbsp;<My:ValidateCodeImage ID="txt_YanCodeImage" runat="server" />
            </dd></dl>
            <dl><dt>&nbsp;</dt><dd>
                <asp:Button ID="btnReg" CssClass="sub" runat="server" Text="提交" 
                    onclick="btnReg_Click" />
            </dd></dl>
            </div>
    </div>
    </form>
    <div class="k40">
   		<div class="qqdl"><img src="/img/da/1.jpg" width="227" height="42" /><p>立即使用QQ登录萝莉网</p></div>
    </div>
</asp:Content>

